package com.example.blogdesign.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blogdesign.Entity.Blog;
import com.example.blogdesign.dto.Result;

import java.util.List;



public interface IBlogService extends IService<Blog> {

    Result<Long> saveBlog(Blog blog);

    Result<?> likeBlog(Long blogId);

    Result<List<Blog>> queryHotBlog(Integer current);

    Result<?> deleteBlogById(Long blogId);

    Result<List<Blog>> queryMyBlog(Integer current);
}
